
<form action=<%="/admin/video?" + request.getQueryString()%> method="post">
	<table border="1">
		<form action="/admin/video" method="post">
			<c:if test="${empty data}">
   				<tr>
					<td><label>embed_code</label></td>
					<td><input type="text" name="embed_code" /></td>
				</tr>
			</c:if>
			

			<tr>
				<td><label>Category_key</label></td>
				<td><select name="Category_key">
				<c:forEach var="category" items="${categorylist}">
						
						<option value="${category.key}" <c:if test="${data.category_Key == category.key}">selected</c:if>>${category.name}</option>
					</c:forEach>	
				</select>
				
				</td>
			</tr>
			<tr>
				<td><label>Title</label></td>
				<td><input type="text" name="Title" value="${data.title}"/></td>
			</tr>
			<tr>
				<td><label>Content</label></td>
				<td ><textarea name="Content" rows="5"  >${data.content.value}</textarea></td>
			</tr>
			
		<tr align="center">
			<td colspan="2"><input type="submit"></td>
		</tr>

		</form>
	</table>
</form>
